<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<tr>
		<td colspan="6" class="t_bar">&nbsp;单位基本信息</td>
	</tr>
	<tr>
		<td width="100px" nowrap align="right">企业名称：</td>
		<td colspan='5'><input type="hidden"
			name="organizations/organization[0]@submit_org" value="1"> <input
			type="hidden" name="organizations/organization[0]@sequence_no"
			value="1"> <input type="hidden"
			name="organizations/organization[0]/org_code"
			value="<x:out select="$xmlData/data/organizations/organization[@submit_org=1]/org_code"/>">
			<span name="organizations/organization[0]/cname"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_name" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right">企业地址：</td>
		<td colspan='3'><span
			name="organizations/organization[0]/address"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/address" />&nbsp;
		</span></td>
		<td nowrap align="right">邮政编码：</td>
		<td><span name="organizations/organization[0]/zip_code"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/zip_code" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right">企业法人代码：</td>
		<td><span name="organizations/organization[0]/org_no"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/org_no" />&nbsp;
		</span></td>
		<td align="right">法定代表人：</td>
		<td ><span
			name="organizations/organization[0]/legal_name"> <x:out
					select="$xmlData/data/organization_persons/person[@type='faren']/cname" />&nbsp;
		</span></td>
		<td nowrap align="right">企业成立时间：</td>
		<td><span name="organizations/organization[0]/registe_date">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_date" />&nbsp;
		</span></td>
	</tr>
	<tr>
		<td nowrap align="right">网站域名：</td>
		<td><span name="organizations/organization[0]/http"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/http" />&nbsp;
		</span></td>
		<td nowrap align="right">经营面积：</td>
		<td>
		<c:set var="office_develope" scope="page"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/office_develope"/></c:set>
		<span
			name="organizations/organization[0]/office_develope">${empty office_develope ? 0 : (office_develope=='由系统统计' ? 0 : office_develope)}</span>平方米&nbsp;</td>
		<td nowrap align="right">职工人数：</td>
		<td><span
			name="organizations/organization[0]/people_count_total"><x:out
					select="$xmlData/data/organization_persons/people_count_total" />人
		</span></td>
	</tr>
	<tr>

		<td nowrap align="right">注册资金：</td>
		<td><span name="organizations/organization[0]/registe_fund"><x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund" />万<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/registe_fund_money_name" />
		</span></td>
		
		<td nowrap align="right"><span class="color_red">*</span>投资控股方：</td>
		<td ><input name="proposal/fund_name"
			class="required" label="投资控股方" type="text" maxlength="50" style="width:200px"
			value="<x:out
					select="$xmlData/data/proposal/fund_name" />" /></td>
		<td nowrap align="right">注册类型：</td>
		<td ><span name="organizations/organization[0]/nature_name"> <x:out select="$xmlData/data/organizations/organization[@submit_org=1]/nature_name" /></span></td>
	</tr>


	<tr>
		<td nowrap align="right">开户银行：</td>
		<td><span name="organizations/organization[0]/bank_orgname">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_orgname" />&nbsp;
		</span></td>
		<td nowrap align="right">银行账号：</td>
		<td><span name="organizations/organization[0]/bank_account">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_account" />&nbsp;
		</span></td>
		<td nowrap align="right">信用等级：</td>
		<td><span name="organizations/organization[0]/bank_credit">
				<x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/bank_credit" />&nbsp;
		</span></td>
	</tr>
	<tr>
	    <td nowrap align="right" >电子邮箱：</td>
		<td colspan='5'><span name="organizations/organization[0]/email"><x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/email" /></span></td>
	</tr>
	<tr>
	<td  nowrap align="right">主营业务：</td>
	<td colspan='5'><span
			name="organizations/organization[0]/opt_scope"> <x:out
					select="$xmlData/data/organizations/organization[@submit_org=1]/opt_scope" />&nbsp;
		</span></td>
	</tr>
</table>
<br>
<div class="t_bar">企业情况</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="business2" cellspacing="1">
		<tr>
		<td nowrap width="15%" align="right"><span class="color_red">*</span>管理资产规模：</td>
		<td nowrap >
			<input type="text" name="proposal/assets_guim" id="proposal_assets_guim" label='管理资产规模' maxlength="50" class='required' value="<x:out select="$xmlData/data/proposal/assets_guim" />"/>			
		</td>
	    <td nowrap align="right"><span class="color_red">*</span>管理基金数：</td>
		<td nowrap >
			<input type="text" name="proposal/gljjs" id="proposal_gljjs" label='管理基金数' class='required' maxlength="50" value="<x:out select="$xmlData/data/proposal/gljjs" />"/>			
		</td>
		<td nowrap align="right"><span class="color_red">*</span>公司设立方式：</td>
		<td nowrap >
			<input type="text" name="proposal/gsslfs" id="proposal_gsslfs" label='公司设立方式' class='required' maxlength="50" value="<x:out select="$xmlData/data/proposal/gsslfs" />"/>			
		</td>
	</tr>
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>QQ号：</td>
		<td nowrap >
			<input type="text" name="proposal/qq" id="proposal_qq" label='QQ号' onfocus="InitInput.setNumber(this,15,0,0)" class='required' value="<x:out select="$xmlData/data/proposal/qq" />"/>			
		</td>
		<td nowrap align="right"><span class="color_red">*</span>员工人数：</td>
		<td nowrap >
			<input type="text" name="proposal/personnel_num" onfocus="InitInput.setNumber(this,7,0,0)" id="proposal_personnel_num" label='员工人数' class='required' value="<x:out select="$xmlData/data/proposal/personnel_num" />"/>人			
		</td>
		<td nowrap align="right"><span class="color_red">*</span>入驻园区时间：</td>
		<td nowrap ><c:set var="settled_date">
				<x:out select="$xmlData/data/proposal/settled_date" />
			</c:set> <cpt:date id="settled_date" name="proposal/settled_date"
				value="${settled_date}"  className="required date"
				label="入驻园区时间"></cpt:date></td>
	</tr>
	<tr>
		<td nowrap align="right"><span class="color_red">*</span>补贴开始时间：</td>
		<td nowrap><c:set var="subsidy_start_date">
				<x:out select="$xmlData/data/proposal/subsidy_start_date" />
			</c:set> <cpt:date id="subsidy_start_date" name="proposal/subsidy_start_date"
				value="${subsidy_start_date}"  className="required date dateCompare:subsidy_end_date"
				label="补贴开始时间"></cpt:date></td>
		<td nowrap align="right"><span class="color_red">*</span>补贴结束时间：</td>
		<td nowrap><c:set var="subsidy_end_date">
				<x:out select="$xmlData/data/proposal/subsidy_end_date" />
			</c:set> <cpt:date id="subsidy_end_date" name="proposal/subsidy_end_date"
				value="${subsidy_end_date}"  className="required date"
				label="补贴结束时间"></cpt:date></td>
	</tr>
	<tr>
    <td><span class="color_red">*</span>单位综合实力（包括：企业规模、员工构成、行业竞争力及所处的地位及主要经营业绩等）(限500字以内)</td>
	<td colspan="5">
	<textarea name="proposal/base_info" rows="8" cols='140' class="input_textarea required maxlength:500 textarea"  label="单位综合实力" ><x:out select="$xmlData/data/proposal/base_info" escapeXml="true" /></textarea>
		  <input type="hidden" name="proposal/base_info_hidden" value="" />
		</td>
	</tr>
</table>
<br>
<div class="t_bar">单位人员情况</div>
<table class="t_css table01" cellpadding="0" cellspacing="0" width="100%"
	id='orgInfo2' align="center">
	<thead>
		<tr>
			<th class="TblHead" align="center" width="100px">&nbsp;</th>
			<th class="TblHead" align="center">姓名</th>
			<th class="TblHead" align="center">电话</th>
			<th class="TblHead" align="center">手机</th>
			<th class="TblHead" align="center">传真</th>
			<th class="TblHead" align="center">电子邮件</th>
		</tr>
	</thead>
	<tbody id="tab">

		<tr>
			<td align="center">企业负责人：</td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_cname"> <x:out
						select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname" />
			</span></td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_tel"> <x:out
						select="$xmlData/data/organization_persons/person[@type='fuzeren']/tel" />
			</span></td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_mobile"> <x:out
						select="$xmlData/data/organization_persons/person[@type='fuzeren']/mobile" />
			</span></td>
            <td align="center"><span 
				name="organizations/organization[0]/responsible_fax"><x:out
						select="$xmlData/data/organizations/organization[@submit_org=1]/fax" /></span></td>
			<td align="center"><span
				name="organizations/organization[0]/responsible_email"><x:out
						select="$xmlData/data/organizations/organization[@submit_org=1]/email" /></span></td>
		</tr>
		<tr>
			<td align="center">企业联系人：</td>
			<td align="center"><span
				name="proposal/contact_name"><x:out
						select="$xmlData/data/organization/contact_info/contact_name" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_tel"><x:out
						select="$xmlData/data/organization/contact_info/contact_tel" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_mobile"><x:out
						select="$xmlData/data/organization/contact_info/contact_mobile" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_fax"><x:out
						select="$xmlData/data/organization/contact_info/contact_fax" />
			</span></td>
			<td align="center"><span
				name="proposal/contact_email"><x:out
						select="$xmlData/data/organization/contact_info/contact_email" />
			</span></td>
		</tr>
	</tbody>
</table>
<br>
<div class="t_bar"><span class="color_red">*</span>近三年营业情况（万元）</div>
<table border="0" cellspacing="0" cellpadding="0" class="t_css table01" id="business">
	<thead>
		<tr>
			<th width="10%" align="center" nowrap>年度</th>
			<th width="20%" align="center">销售收入</th>
			<th width="15%" nowrap="nowrap">同比增长（%）</th>
			<th width="20%">净利润</th>
			<th width="15%">同比增长（%）</th>
			<th width="20%">上交税收</th>
		</tr>
	</thead>
	<tbody id="tab">
		<tr>
			<td align="center"><input type="hidden" name="business/year_1" value="${statYear-1}" />${statYear-1}</td>
			<td align="center"><input name="business/sale_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align:right;width:100px" value="<x:out select="$xmlData/data/business/sale_1" />" /></td>
			<td align="center"><input name="business/sale_precent_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/sale_precent_1" />" /></td>
			<td align="center"><input name="business/proft_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_1" />" /></td>
			<td align="center"><input name="business/proft_precent_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/proft_precent_1" />" /></td>
			<td align="center"><input name="business/tax_1" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/tax_1" />" /></td>
					</tr>
					<tr>
			<td align="center"><input type="hidden" name="business/year_2" value="${statYear-2}" />${statYear-2}</td>
			<td align="center"><input name="business/sale_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/sale_2" />" /></td>
			<td align="center"><input name="business/sale_precent_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/sale_precent_2" />" /></td>
			<td align="center"><input name="business/proft_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_2" />" /></td>
			<td align="center"><input name="business/proft_precent_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_precent_2" />" /></td>
			<td align="center"><input name="business/tax_2" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/tax_2" />" /></td>
					</tr>
					<tr>
			<td align="center"><input type="hidden" name="business/year_3" value="${statYear-3}" />${statYear-3}</td>
			<td align="center"><input name="business/sale_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right ;width:100px" value="<x:out select="$xmlData/data/business/sale_3" />" /></td>
			<td align="center"><input name="business/sale_precent_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/sale_precent_3" />" /></td>
			<td align="center"><input name="business/proft_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_3" />" /></td>
			<td align="center"><input name="business/proft_precent_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/proft_precent_3" />" /></td>
			<td align="center"><input name="business/tax_3" type="text" onfocus="InitInput.setNumber(this,7,4,2,this.id,true)"
				style="text-align: right; width:100px" value="<x:out select="$xmlData/data/business/tax_3" />" /></td>
		 </tr>
	</tbody>
</table>
<br/>
<div class="t_bar"><span class="color_red">*</span>主要股东信息（前5名）</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01">
	<thead>
		<tr>
			<th align="center" width="40%" nowrap>股东名称</th>
			<th width="20%" align="center">股东出资额(万元)</th>
			<th width="20%">出资方式</th>
			<th width="20%">所占股份比例（%）</th>

		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach begin='0' end='4' step ='1' select="$xmlData/data/organization_shareholders/shareholder" var="shareholder">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span style='display: none'
					name="organizations/shareholders/shareholder[${flag}${index}]@sequence_no">${index+1}</span>
					<span
					name="organizations/shareholders/shareholder[${flag}${index}]/cname">
						<x:out select="$shareholder/cname" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_amount">
						<x:out select="$shareholder/invest_amount" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_type_name">
						<x:out select="$shareholder/invest_type_name" />
				</span></td>
				<td align="center"><span
					name="organizations/shareholders/shareholder[${flag}${index}]/invest_percent">
						<x:out select="$shareholder/invest_percent" />
				</span></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>
<br>

<div class="t_bar">近三年曾获政府资助的情况（金额：万元）</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01">
	<thead>
		<tr>
			<th align="center" nowrap>项目名称</th>
			<th width="13%" align="center">资助部门</th>
			<th width="11%">资助时间</th>
			<th width="11%">资助金额</th>
			<th width="10%">项目验收情况</th>
			<th width="10%">验收时间</th>
			<th width="9%" nowrap="nowrap">资助形式</th>
			<th width="20%">借款偿还情况</th>
			<th width="10%">还款时间</th>
		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach select="$xmlData/data/organization_research/fund_project" var="research">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/ctitle"> <x:out
							select="$research/ctitle" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/award_dept"> <x:out
							select="$research/award_dept" />
				</span></td>
				<td align="center"><span
					name="research/fund_project[${flag}${index}]/award_date"> <x:out
							select="$research/award_date" />
				</span></td>
				<td align="right"><span
					name="research/fund_project[${flag}${index}]/award_amt"> <x:out
							select="$research/award_amt" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/accept_flag_name">
						<x:out select="$research/accept_flag_name" />
				</span></td>
				<td align="center"><span
					name="research/fund_project[${flag}${index}]/accept_date"> <x:out
							select="$research/accept_date" />
				</span></td>
				<td align="left"><span name="research/fund_project[${flag}${index}]/award_type">
						<x:out select="$research/award_type_name" />
				</span></td>
				<td align="left"><span
					name="research/fund_project[${flag}${index}]/repay_flag_name">
						<x:out select="$research/repay_flag_name" />
				</span></td>
				<td align="center"><span
					name="research/fund_project[${flag}${index}]/repay_date"> <x:out
							select="$research/repay_date" />
				</span></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>

